/*
 * @Author: li bo
 * @Date: 2025/07/09 17:29:55
 * @LastEditors: li bo
 * @Description: "歌词控制器"
 */
const db = require('../../models/index');
const DAO = require('../../dao/sql-option-dao');

const Songs = db.songs;
const Lyrics = db.lyrics;

// 歌词-歌曲 一对一关联
Lyrics.belongsTo(Songs, {
    foreignKey: 'songId',
    as: 'song'
})